﻿namespace FFF.Test.Application.Repositories.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW;

	/// <summary>
    /// 企业表展示时候的dto
    /// </summary>
	[AutoMap(typeof(FWCompanyEntity))] 
    public class FWCompanyResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 企业名称
        /// </summary>
		[Display(Name = "企业名称", Description = "企业名称")]
        [Column("CompanyName")]
		[StringLength(256)]
        public string CompanyName { get; set; }
        
		/// <summary>
        /// 企业介绍
        /// </summary>
		[Display(Name = "企业介绍", Description = "企业介绍")]
        [Column("CompanyDesc")]
		[StringLength(999999)]
        public string CompanyDesc { get; set; }
        
		/// <summary>
        /// 企业Logo(上传图片)
        /// </summary>
		[Display(Name = "企业Logo(上传图片)", Description = "企业Logo(上传图片)")]
        [Column("CompanyLogoUrl")]
		[StringLength(512)]
        public string CompanyLogoUrl { get; set; }
        
    }
}
